package cn.bdqn.controller;

import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public class UserController {
    @RequestMapping("/list")
    public void list(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        System.out.println("list方法执行了");
        request.getRequestDispatcher("index.jsp").forward(request,response);
    }
}
